home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Developer Connection Student Program
/
ADC Tools Sampler CD Disk 3 1999.iso
/
Documentation
/
Books
/
Learn Java on the Macintosh
/
Learn Java Projects
/
07.02 - init
/
InitMethod.java
< prev
next >
Wrap
Text File
|
1996-04-22
|
706b
|
31 lines
/* -------------------------------------------------------------
This applet invokes methods when it initializes.
Java's classes: Applet (applet)
System (lang)
Custom classes: InitMethod
------------------------------------------------------------- */
public class InitMethod extends java.applet.Applet {
public void init() {
System.out.println("init()");
setUpGUI();
}
void setUpGUI() {
System.out.println("setUpGUI()");
makeWindow1();
makeWindow2();
}
void makeWindow1() {
System.out.println("makeWindow1()");
}
void makeWindow2() {
System.out.println("makeWindow2()");
}
}